#include <stdio.h>

int tair() {
    char mask;
    scanf("%c",&mask);
    for (int i=1;i<=3;i++){
        for (int j=3-i;j>=1;j--){
            printf(" ");
        }
        for (int j=2*i-1;j>=1;j--){
            printf("%c",mask);
        }
        printf("\n");
    }
    return 0;
}


int get_apple() {
    int num,apple;
    scanf("%d %d",&num,&apple);
    printf("%d",num*apple);
    return 0;
}

int lower(){
	char letter;
	scanf("%c",&letter);
	printf("%c",letter+'A'-'a');
	return 0;
}

int test()
{
    int lingu,pub,bid;
	char check;
	scanf("%d-%d-%d-%c",&lingu,&pub,&bid,&check);
	int pubm = pub;
	int bidm = bid;
	int score = lingu;
	for (int i=9; i>1; i--)
	{
		if (i > 4)
		{
			score += bid%10*i;
			bid /= 10;
		}
		else
		{
			score += pub%10*i;
			pub /= 10;
		}
	}
	score %= 11;
	if (score == 10)
	{
		if ('X' == check)
		{
			printf("Right");
		}
		else
		{
			printf("%d-%03d-%05d-X",lingu,pubm,bidm);
		}
	}else{
		if (score+48 == check)
		{
			printf("Right");
		}
		else
		{
			printf("%d-%03d-%05d-%d",lingu,pubm,bidm,score);
		}
	}
    return 0;
}

int main()
{
    int a,b,c;
    scanf("%d %d %d",a,b,c);
    if (a+b>c || a+c>b || b+c>a)
    {
        printf("Not triangle");
    }
    else if (a*a+b*b==c*c || a*a+c*c==b*b || b*b+c*c==a*a)
    {
        printf("Right triangle");
    }
    else if (a*a+b*b>c*c || a*a+c*c>b*b || b*b+c*c>a*a)
    {
        printf("Acute triangle");
    }
    else
    {
        printf("Obtuse triangle");
    }
    if (a==b || a==c || b==c)
    {
        printf("Isosceles triangle");
        if (a==b && a==c)
        {
            printf("Equilateral triangle");
        }
    }
    return 0;
}